import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /sys/role/table
 */
export function getSysRoleTable(params: GetSysRoleTableParams, config?: AxiosRequestConfig) {
    const paramsInput = {
        blurry: params.blurry,
    };
    return request.get<DeepRequired<any>>(`/sys/role/table`, {
        params: paramsInput,
        ...config,
    });
}

export interface GetSysRoleTableParams {
    blurry: string;
}
